package com.mycity.bean;

import org.codehaus.jackson.annotate.JsonCreator;
import org.codehaus.jackson.annotate.JsonProperty;

public class Report {
	
	private int reportId;
	
	private int contentType;
	
	private int contentId;
	
	private int reporterId;
	
	private int reportedId;
	
	private String reportDate;
	
	public int getReportId() {
		return reportId;
	}

	public void setReportId(int ReportId) {
		reportId = ReportId;
	}

    public int getContentType() {
		return contentType;
	}

	public void setContentType(int contentType) {
		this.contentType = contentType;
	}

	public int getContentId() {
		return contentId;
	}

	public void setContentId(int contentId) {
		this.contentId = contentId;
	}

	public int getReporterId() {
		return reporterId;
	}

	public void setReporterId(int reporterId) {
		this.reporterId = reporterId;
	}

	public int getReportedId() {
		return reportedId;
	}

	public void setReportedId(int reportedId) {
		this.reportedId = reportedId;
	}

	public String getReportDate() {
		return reportDate;
	}

	public void setReportDate(String ReportDate) {
		reportDate = ReportDate;
	}


	
	@JsonCreator
	public Report(@JsonProperty("reportId") int reportId, @JsonProperty("contentType") int contentType, @JsonProperty("contentId")  int contentId, @JsonProperty("reporterId") int reporterId, @JsonProperty("reportedId") int reportedId,
			@JsonProperty("reportDate") String reportDate){
		this.reportId = reportId;
		this.contentType = contentType;
		this.contentId = contentId;
		this.reporterId = reporterId;
		this.reportedId = reportedId;
		this.reportDate = reportDate;
	}
    
	/**
     * Empty Constructor. Needed for JAXB.
     */
	public Report(){
		
	}
}
